package com.bwie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bwie.pojo.RepairDateVo;
import com.bwie.pojo.Repais;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RepaisMapper extends BaseMapper<Repais> {
    List<RepairDateVo> getWeekCount();


    List<String> getYear();

    List<Integer> getMonthDate(@Param("status") int status);

    List<String> getRegion();

    List<Integer> getStatusCount(@Param("status") int status);

    Page<Repais> getRepairList(Page<Repais> page, @Param("repais") Repais repais);
}